package com.appkubes.fintech.admin.application.bill.service;


import com.appkubes.fintech.admin.application.bill.entity.dto.RepayVO;
import com.appkubes.fintech.common.response.Response;
import com.appkubes.fintech.core.po.FintechRentBillHeader;
import com.appkubes.fintech.core.po.FintechRentBillLines;
import com.appkubes.fintech.core.po.FintechRentRepayOrder;
import com.appkubes.fintech.core.po.FintechUserBaseInfo;

/**
 * @description: 还款单
 * @author: xqc
 * @date: 2020/1/6 11:27
 * @params:
 * @return:
 */
public interface IRePayOrderService {


    /**
     * @description: 创建还款单
     * @author: xqc
     * @date: 2020/1/2 17:27
     * @params:
     * @return:
     */
    Response<FintechRentRepayOrder> createOrder(RepayVO vo, FintechUserBaseInfo baseInfo, FintechRentBillHeader header,Integer periodType);

    /**
     * @description: 创建还款单
     * @author: xqc
     * @date: 2020/1/2 17:27
     * @params:
     * @return:
     */
    Response<FintechRentRepayOrder> createOrder(FintechRentBillLines lines,RepayVO vo, FintechUserBaseInfo baseInfo, FintechRentBillHeader header,Integer periodType);


    /**
     * @description: 创建还款单
     * @author: xqc
     * @date: 2020/1/2 17:27
     * @params:
     * @return:
     */
    Response paySuc(String repayOrderKey);


    /**
     * @description: 创建还款单
     * @author: xqc
     * @date: 2020/1/2 17:27
     * @params:
     * @return:
     */
    Response payErr(String repayOrderKey,String msg);

    /**
     * @description: 创建还款单
     * @author: xqc
     * @date: 2020/1/2 17:27
     * @params:
     * @return:
     */
    Response repaySuc(String repayOrderKey,String periods);


    /**
     * @description: 创建还款单
     * @author: xqc
     * @date: 2020/1/2 17:27
     * @params:
     * @return:
     */
    Response repayErr(String repayOrderKey,String periods,String msg);
}
